import { createRouter, createWebHistory } from 'vue-router'
import map_edit from '../views/map_edit/index.vue'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'map_edit',
      component: map_edit,
    },
    {
      path: '/preview',
      name: 'preview',
      component: () => import('../views/map_preview/index.vue'),
    },
  ],
})

export default router
